package com.us.usws.common.resourcetree.model;

/**
 *
 * Checkbox resource tree
 */
public class CheckBoxResourceTree extends AbstractTreeNode<CheckBoxResourceTree> {

	private boolean checked = false;

	public CheckBoxResourceTree(long id) {
		super(id);
	}

	public CheckBoxResourceTree(long id, String text) {
		super(id, text);
	}

	public CheckBoxResourceTree(long id, long parentId, String text) {
		super(id, text);
		setParentId(parentId);
	}

	/**
	 * @return the checked
	 */
	public boolean isChecked() {
		return checked;
	}

	/**
	 * @param checked the checked to set
	 */
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
}
